﻿@{
    ViewBag.Title = "NougakuDo Companion Admin Page";
}

<div id="adminContent" >
    @{
        
        string subtab = ViewBag.Subtab;
        string selected = "class=\"selected\"";
    }
    <div class="subNav">
        <ul>
            <li><a @if (subtab.Equals("Applications"))
                   { WriteLiteral(selected); }   
                   href="/Admin/Admin?Subtab=Applications">NougakuDo Runtime & Apps</a>
            </li>
            <li>|</li>
            <li><a @if (subtab.Equals("ControllerLogs"))
                   { WriteLiteral(selected); }   
                   href="/Admin/Admin?Subtab=ControllerLogs">Controller Logs</a>
            </li>
            <li>|</li>
            <li><a @if (subtab.Equals("NougakudoLogs"))
                   { WriteLiteral(selected); }   
                   href="/Admin/Admin?Subtab=NougakudoLogs">NougakuDo Status</a>
            </li>
            <li>|</li>
            <li><a @if (subtab.Equals("Cleanup"))
                   { WriteLiteral(selected); }   
                   href="/Admin/Admin?Subtab=Cleanup">Cleanup</a>
            </li>
            <li>|</li>
        </ul>
    </div>
    @Html.Partial(subtab)    
</div>